/**
 * 动作配置
 *
 */
class DataConfig {
    public constructor() {
    }
    /**
     * @isReplay 动画播完是否保持在最后一个动作
     * @isAutoPlay 是否重复 
     * @xSpeed X轴速度
     * @ySpeed Y轴速度
     * @isJumping 是否跳跃
     * @isOnce 动画是否必须完成结束后才执行下一个动画
     * @lastAct 执行该动画默认执行下个动画，后面接动画参数
     * @control 键盘控制
     */ 
    public static kano = {
        1: { id: 1,name: "站立",json: "kano_left_standsheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: false,control: [] },
        2: { id: 2,name: "上跳",json: "kano_left_jumpingsheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 40,isJumping: true,isOnce: true,control: [87].toString() + "|" },
        3: { id: 3,name: "下蹲",json: "kano_left_squatingsheet.json",isReplay: true,isAutoPlay: false,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: false,lastAct: 11,control: [83].toString() + "|"},
        4: { id: 4,name: "后退",json: "kano_left_walking-backwardsheet.json",isReplay: true,isAutoPlay: true,xSpeed: -10,ySpeed: 0,isJumping: false,isOnce: false,control: [65].toString() + "|" },
        5: { id: 5,name: "前行",json: "kano_left_walkingsheet.json",isReplay: true,isAutoPlay: true,xSpeed: 10,ySpeed: 0,isJumping: false,isOnce: false,control: [68].toString() + "|" },
        6: { id: 6,name: "上拳",json: "kano_left_high-punchsheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 24,control: [89].toString() + "|" },
        7: { id: 7,name: "上脚",json: "kano_left_high-kicksheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 24,control: [73].toString() + "|" },
        8: { id: 8,name: "下拳",json: "kano_left_low-punchsheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 24,control: [72].toString() + "|" },
        9: { id: 9,name: "格挡",json: "kano_left_blockingsheet.json",isReplay: true,isAutoPlay: false,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: false,frameRate: 24,control: [74].toString() + "|" },
        10: { id: 10,name: "下脚",json: "kano_left_low-kicksheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 24,control: [75].toString() + "|" },
        //复原动作
        11: { id: 11,name: "下蹲(复原)",json: "kano_left_stand-upsheet.json",isReplay: false,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: false,frameRate: 24,control: [] },
        12: { id: 12,name: "鲤鱼打挺",json: "kano_left_attractive-stand-upsheet.json",isReplay: false,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 12,control: [] },
        
        //组合技能
        20: { id: 20,name: "上前跳",json: "kano_left_forward-jumpsheet.json",isReplay: true,isAutoPlay: true,xSpeed: 20,ySpeed: 50,isJumping: true,isOnce: true,control: [87,68].toString() + "|" + [68,87].toString() },
        21: { id: 21,name: "上后跳",json: "kano_left_backward-jumkano_left_psheet.json",isReplay: true,isAutoPlay: true,xSpeed: -20,ySpeed: 50,isJumping: true,isOnce: true,control: [87,65].toString() + "|" + [65,87].toString() },
        22: { id: 22,name: "组合勾拳",json: "kano_left_uppercutsheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 18,lastAct: 11,control: [83,89].toString() + "|" + [89,83].toString() },
        23: { id: 23,name: "组合回旋踢",json: "kano_left_spin-kicksheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 18,control: [65,73].toString() + "|" + [73,65].toString() },
        24: { id: 24,name: "组合蹲下拳",json: "kano_left_squat-low-punchsheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 24,lastAct: 11,control: [83,72].toString() + "|" + [72,83].toString() },
        25: { id: 25,name: "组合蹲上脚",json: "kano_left_squat-high-kicksheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 24,lastAct: 11,control: [83,73].toString() + "|" + [73,83].toString() },
        26: { id: 26,name: "组合蹲下脚",json: "kano_left_squat-low-kicksheet.json",isReplay: true,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 24,lastAct: 11,control: [83,75].toString() + "|" + [75,83].toString() },
        //结束动作
        30: { id: 30,name: "胜利",json: "kano_left_winsheet.json",isReplay: false,isAutoPlay: false,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: false,frameRate: 24,control: [] },
        31: { id: 31,name: "失败",json: "kano_left_fallsheet.json",isReplay: false,isAutoPlay: true,xSpeed: 0,ySpeed: 0,isJumping: false,isOnce: true,frameRate: 24,lastAct: 12,control: [] }

    }
}
